package com.yeulaptrinh.jsonparsing;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class DetailViewActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.detail_item);
		
		Intent i = getIntent();
        String product = i.getStringExtra("product");
		TextView detail = (TextView) findViewById(R.id.detail);
		detail.setText(product);
		
	}

}
